package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网点库存对象 sys_outlet_inventory
 *
 * @author ruoyi
 * @date 2024-07-23
 */
public class SysOutletInventory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 网点id
     */
    private Long oId;

    @Excel(name = "网点名称")
    private String oName;

    /**
     * 产品id
     */
    private Long proId;

    @Excel(name = "产品名称")
    private String proName;

    /**
     * 批次号
     */
    @Excel(name = "批次号")
    private String batchNum;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long quantity;

    public void setoId(Long oId) {
        this.oId = oId;
    }

    public Long getoId() {
        return oId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public Long getProId() {
        return proId;
    }

    public void setBatchNum(String batchNum) {
        this.batchNum = batchNum;
    }

    public String getBatchNum() {
        return batchNum;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Long getQuantity() {
        return quantity;
    }

    public String getoName() {
        return oName;
    }

    public void setoName(String oName) {
        this.oName = oName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("oId", getoId())
                .append("oName", getoName())
                .append("proId", getProId())
                .append("proName", getProName())
                .append("batchNum", getBatchNum())
                .append("quantity", getQuantity())
                .toString();
    }
}
